package cn.kgc.tangcco.tcbd1011.util;

public class Util {

	public static final String METHODNAME="methodName";
	
	public static final String READERDAO="reader.dao";
	public static final String READESERVICES="reader.services";
	public static final String BOOKSDAO="booksDao";
	public static final String BOOKSSERVICE="booksService";
	public static final String BOOKTYPEDAO="booktypedao";
	public static final String BOOKTYPESERVICE="booktypeservice";
	
	public static final Stirng WANGYAN="CAIJI";
	public static final String DOADD="doAdd";
	public static final String DOUPDATE="doUpdate";
	public static final String DODELETE="doDelete";
	
	public static int parseInt(String pk) {
		int number=0;
		if (pk!=null && !pk.isEmpty()) {
			number=Integer.parseInt(pk);
		}
		return number;
	}
}
